from django.conf.urls.defaults import *

urlpatterns = patterns('',

#Urls to add a value or get a list of values for a combo meta field
#of a particular class
#(\d+)/(\d+) is for class id/meta id
    (r'^combo/(\d+)/(\d+)/$', 'inv.entity.views.combo'),

#Urls to add a particular entity
#(\d+) is for class id
    (r'^add/(\d+)/$', 'inv.entity.views.add'),

#Urls to add in bulk via csv file
#(\d+) is for class id
    (r'^add_bulk/(\d+)/$', 'inv.entity.views.add_bulk'),

#    (r'^(\d+)/$','inv.product.views.product'),
#    (r'^search/basic/(.*)/$','inv.product.views.search'),
#    (r'^list/(.*)/(\d+)/(.*)/$','inv.product.views.list'),
#    (r'^search/advanced/$','inv.product.views.search_advanced'),
#    (r'^update/(\d+)/$','inv.product.views.update'),

#    (r'^meta/$','inv.product.views.meta_json'),
#    (r'^(\d+)/$','inv.product.views.product_json'),
#    (r'^search/basic/(.*)/$','inv.product.views.search_json'),
#    (r'^list/(.*)/(\d+)/(.*)/$','inv.product.views.list_json'),
)

